home *** CD-ROM | disk | FTP | other *** search
- /* Example Login Program... kinda.... */
- #include <stdio.h>
- #include <conio.h>
- main()
- {
- char UserName[80];
- char *Password;
- printf("\n\nDemonstration Login Program (c) 1993 the No Secrets Agency");
- printf("\nEnter Username: ");
- gets(UserName);
- Password = getpass("Enter Password: ");
- printf("\nUser \"%s\" logged in.",UserName);
- printf("\nRemember - Giving Away Passwords is a Class A Misdemeanor!");
- printf("\nBTW - Your password is \"%s!\"",Password);
- return 0;
- }
-